import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store'
import './styles/index.less' // 引入less
import '@/utils/element.js' // 引入elementui
import 'element-ui/lib/theme-chalk/index.css' // 引入element-ui-css
// import './json-bigint的演示使用.js'
Vue.config.productionTip = false
import { ElementTiptapPlugin } from 'element-tiptap';
// 引入 ElementUI 样式
import 'element-ui/lib/theme-chalk/index.css';
// import element-tiptap 样式
import 'element-tiptap/lib/index.css';
Vue.use(ElementTiptapPlugin, {
  lang: 'zh',
});

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  }
}).$mount('#app')
